package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
@Schema(description ="执行用药入参类")
public class ExeYaoInVO {

    @Schema(description ="操作指令(save/exeNow)")
    @NotBlank(message = "请输入操作指令")
    private String operaType;

    @Schema(description ="识别号")
    @NotBlank(message = "请输入识别号")
    private String patientIdent;

    @Schema(description ="住院号")
    @NotBlank(message = "请输入住院号")
    private String hospitalNumber;

    @Schema(description ="用药频次")
    @NotBlank(message = "请输入用药频次")
    private String repeatIdent;

    @Schema(description ="速度")
    private Integer speed;

    @Schema(description ="总液体量")
    private Integer totalYtCount;

    @Schema(description ="计划执行时间")
    @NotNull(message = "请输入计划执行时间")
    private Long planTime;

    @Schema(description ="执行时间")
    private Long exeTime;

    @Schema(description ="用药途径")
//    @NotBlank(message = "请输入用药途径")
    private String wayIdent;

    @Schema(description ="用药方式")
    @NotBlank(message = "请输入用药方式")
    private String routeIdent;

    @Schema(description ="用药通道")
    private String channelIdent;

    @Schema(description ="用药集合")
    private List<YaoPlanInVO> yaoList;

    @Schema(description ="单签名")
    private String signature1;


    @Schema(description ="执行状态")
    private String exeStatus;

    @Schema(description ="双签名")
    private String signature2;

    @Schema(description ="备注")
    private String remarks;

    @Schema(description =  "入量类型: 1，静点 2，口服(口服药物入量) 3，鼻饲4，其他  5,口服" )
    private Integer inputType;

}
